package tcube.record;

public class DateRecord {
	Integer dId;
	String year;
	String month;
	String day;
	
	public DateRecord(String year, String month, String day) {
		super();
		this.dId = (Integer) (year+month+day).hashCode();
		this.year = year;
		this.month = month;
		this.day = day;
	}

	public Integer getdId() {
		return dId;
	}

	public void setdId(Integer dId) {
		this.dId = dId;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}
	
	
}
